package com.band.service;

import com.band.entity.PageBean;
import com.band.entity.Student;
import com.band.entity.StudentQueryParam;

import java.util.List;
import java.util.Map;

public interface StudentService {
    /**
     * 条件查询
     * @param param 查询参数
     * @return
     */
    PageBean list(StudentQueryParam param);

    /**
     * 删除
     * @param ids
     */
    void delete(List<Integer> ids);

    void insert(Student student);

    Student select(Integer id);

    void update(Student student);

    void violantan(Integer id, Short score);

    List<Map> studentDegreeData();
}
